
#ifndef	__SANCAB_FILE_CELL_INDEX_ITERATOR_HPP_2010__
#define	__SANCAB_FILE_CELL_INDEX_ITERATOR_HPP_2010__

#include <string>
#include <fstream>

#include "indexiter.hpp"

namespace	sancab	{

class	FileCellIndexIterator
		:	public IndexIterator
{

public	:
	FileCellIndexIterator( const char* filename );
	virtual	~FileCellIndexIterator();

public	:
	virtual	int	next( std::string& kpin, std::string& skey, std::string& key );

private	:
	std::ifstream	_ifs;

};	//// class FileCellIndexIterator

}	//// namespace sancab

#endif	//	__SANCAB_FILE_CELL_INDEX_ITERATOR_HPP_2010__

